package com.fitt.web.fotto.racetrack

import grails.test.GrailsUnitTestCase;
import grails.test.mixin.TestFor
import spock.lang.Specification

class RaceTest extends GrailsUnitTestCase {

    protected void setup() {
		super.setUp()
    }

    protected void tearDown() {
		super.tearDown()
    }

	void testInMiles() {
		def race = new Race(distance: 5.0)
		assertEquals 3.107, race.inMiles()
	}
}
